﻿<?php 
include_once("../function.php");
//print_r($_GET);//Array ( [oid] => 175 [uid] => 5 )
extract($_GET);//$oid $uid
$oid=trim($oid);
$uid=trim($uid);
$sql="update ts_order set pay_status=1 where order_id='$oid' and user_id='$uid'";
$res=mysqli_query($link,$sql);
if($res)
{
	if(mysqli_affected_rows($link)>0)
	{
		msg("支付成功","./user_order.php");exit;
	}
}
?>